import request from '@/utils/request'
export function getArticles () {
  return request({
    url: '/oapi/article/list',
    method: 'get'
  })
}

export function getHotArticles () {
  return request({
    url: '/oapi/article/hots',
    method: 'get'
  })
}
